﻿using System.Xml.Serialization;

namespace FuiouPay.Models.Response {
    [XmlRoot("xml")]
    public class CancelOrderResponseInfo : FuiouResponseInfo {
        /// <summary>
        /// 商户订单号, 商户系统内部的订单号 (5到30个字符、只能包含字母数字,区分大小写)
        /// </summary>
        [XmlElement("mchnt_order_no")]
        public string MchntOrderNo { get; set; }

        /// <summary>
        /// 商户撤销单号
        /// </summary>
        [XmlElement("cancel_order_no")]
        public string CancelOrderNo { get; set; }

        /// <summary>
        /// 渠道撤销流水号
        /// </summary>
        [XmlElement("cancel_id")]
        public string CancelId { get; set; }

        /// <summary>
        /// 是否有资金流向(只有支付宝有该字段)
        /// </summary>
        [XmlElement("fund_change")]
        public string FundChange { get; set; }

        /// <summary>
        /// 是否需要新调用撤销(当为Y时，需要重新调用撤销接口)
        /// </summary>
        [XmlElement("recall")]
        public string Recall { get; set; }

        /// <summary>
        /// 富友交易日期
        /// </summary>
        [XmlElement("reserved_fy_settle_dt")]
        public string ReservedFySettleDt { get; set; }

        /// <summary>
        /// 富友系统内部追踪号
        /// </summary>
        [XmlElement("reserved_fy_trace_no")]
        public string ReservedFyTraceNo { get; set; }
    }
}
